.\" Copyright (C) 2021 Stefan Roesch <shr@fb.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_unregister_files 3 "November 15, 2021" "liburing-2.1" "liburing Manual"
.SH NAME
io_uring_unregister_files \- unregister file descriptors
.SH SYNOPSIS
.nf
.B #include <liburing.h>
.PP
.BI "int io_uring_unregister_files(struct io_uring *" ring ");"
.fi
.SH DESCRIPTION
.PP
The
.BR io_uring_unregister_files (3)
function unregisters the file descriptors previously registered to the
.IR ring .

.SH RETURN VALUE
On success
.BR io_uring_unregister_files (3)
returns 0. On failure it returns
.BR -errno .
.SH SEE ALSO
.BR io_uring_register_files (3)
